package org.springblade.modules.platform.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 *
 * </p>
 *
 * @author SYG
 * @since 2023-06-29
 */


public class MeasuringPlatformConfigDTO {


    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 测台id
     */
    @ApiModelProperty(value = "测台主键id")
    private Long measuringPlatformId;

    /**
     * 1:正向配置；2:逆向配置
     */
    @ApiModelProperty(value = "1:正向配置；2:逆向配置")
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private Integer platformTypeCode;



    /**
     * 数据策略方式（1.手动赋值；2，高精度传感器带入)
     */
    @ApiModelProperty(value = "数据策略方式（1.手动赋值；3，模型计算)")
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private Integer xType;

    /**
     * x值或者高精度传感器地址
     */
    @ApiModelProperty(value = "x值或者高精度传感器地址")
    private String xValue;

    /**
     * 数据策略方式（1.手动赋值；2，高精度传感器带入)
     */
    @ApiModelProperty(value = "数据策略方式（1.手动赋值；3，模型计算)")
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private Integer yType;

    /**
     * x值或者高精度传感器地址
     */
    @ApiModelProperty(value = "y值或者高精度传感器地址")
    private String yValue;

    /**
     * 数据策略方式（1.手动赋值；2，高精度传感器带入)
     */
    @ApiModelProperty(value = "数据策略方式（1.手动赋值；3，模型计算)")
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private Integer zType;



    /**
     * x值或者高精度传感器地址
     */
    @ApiModelProperty(value = "z值或者高精度传感器地址")
    private String zValue;

    /**
     * 数据策略方式（1.手动赋值；2，高精度传感器带入)
     */
    @ApiModelProperty(value = "数据策略方式（1.手动赋值；2，高精度传感器带入)")
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private Integer alphaType;

    /**
     * x值或者高精度传感器地址
     */
    @ApiModelProperty(value = "alpha值或者高精度传感器地址")
    private String alphaValue;

    /**
     * 数据策略方式（1.手动赋值；2，高精度传感器带入)
     */
    @ApiModelProperty(value = " 数据策略方式（1.手动赋值；2，高精度传感器带入)")
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private Integer betaType;

    /**
     * x值或者高精度传感器地址
     */
    @ApiModelProperty(value = "beta值或者高精度传感器地址")
    private String betaValue;

    /**
     * 数据策略方式（1.手动赋值；2，高精度传感器带入)
     */
    @ApiModelProperty(value = "数据策略方式（1.手动赋值；2，高精度传感器带入)")
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private Integer gamaType;

    /**
     * x值或者高精度传感器地址
     */
    @ApiModelProperty(value = "gama值或者高精度传感器地址")
    private String gamaValue;

    public Integer getPlatformTypeCode() {
        return platformTypeCode;
    }

    public void setPlatformTypeCode(Integer platformTypeCode) {
        this.platformTypeCode = platformTypeCode;
    }

    public Long getMeasuringPlatformId() {
        return measuringPlatformId;
    }

    public void setMeasuringPlatformId(Long measuringPlatformId) {
        this.measuringPlatformId = measuringPlatformId;
    }

    public Integer getxType() {
        return xType;
    }

    public void setxType(Integer xType) {
        this.xType = xType;
    }

    public String getxValue() {
        return xValue;
    }

    public void setxValue(String xValue) {
        this.xValue = xValue;
    }

    public Integer getyType() {
        return yType;
    }

    public void setyType(Integer yType) {
        this.yType = yType;
    }

    public String getyValue() {
        return yValue;
    }

    public void setyValue(String yValue) {
        this.yValue = yValue;
    }

    public Integer getzType() {
        return zType;
    }

    public void setzType(Integer zType) {
        this.zType = zType;
    }

    public String getzValue() {
        return zValue;
    }

    public void setzValue(String zValue) {
        this.zValue = zValue;
    }

    public Integer getAlphaType() {
        return alphaType;
    }

    public void setAlphaType(Integer alphaType) {
        this.alphaType = alphaType;
    }

    public String getAlphaValue() {
        return alphaValue;
    }

    public void setAlphaValue(String alphaValue) {
        this.alphaValue = alphaValue;
    }

    public Integer getBetaType() {
        return betaType;
    }

    public void setBetaType(Integer betaType) {
        this.betaType = betaType;
    }

    public String getBetaValue() {
        return betaValue;
    }

    public void setBetaValue(String betaValue) {
        this.betaValue = betaValue;
    }

    public Integer getGamaType() {
        return gamaType;
    }

    public void setGamaType(Integer gamaType) {
        this.gamaType = gamaType;
    }

    public String getGamaValue() {
        return gamaValue;
    }

    public void setGamaValue(String gamaValue) {
        this.gamaValue = gamaValue;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "MeasuringPlatformConfigDTO{" +
                "measuringPlatformId=" + measuringPlatformId +
                ", platformTypeCode=" + platformTypeCode +
                ", id=" + id +
                ", xType=" + xType +
                ", xValue='" + xValue + '\'' +
                ", yType=" + yType +
                ", yValue='" + yValue + '\'' +
                ", zType=" + zType +
                ", zValue='" + zValue + '\'' +
                ", alphaType=" + alphaType +
                ", alphaValue='" + alphaValue + '\'' +
                ", betaType=" + betaType +
                ", betaValue='" + betaValue + '\'' +
                ", gamaType=" + gamaType +
                ", gamaValue='" + gamaValue + '\'' +
                '}';
    }
}
